package com.chinairi.mall.controller.viewobject;

import com.baomidou.mybatisplus.annotation.TableField;
import com.chinairi.mall.model.SysUser;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author webgasd
 */
public class UserRegisterVO extends SysUser {
    /**
     * 用户邮箱
     */

    private String loginEmail;

    /**
     * 用户展示在页面上的名称
     */

    private String displayNm;

    /**
     * 用户类型（1管理员、2普通用户、999超级管理员）
     */

    private String accountType;

    /**
     * 标志位：0注册和认证放到一起，1是单独进行资质认证
     */
    private String flag;


    /**
     *  登录名
     */
    private String loginNm;


    /**
     *  账号状态 0不激活 1激活
     */
    private String isActive;
    /**
     * 登录密码(MD5加密)
     */
    @TableField("LOGIN_PWD")
    private String loginPwd;

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getLoginEmail() {
        return loginEmail;
    }

    public void setLoginEmail(String loginEmail) {
        this.loginEmail = loginEmail;
    }

    public String getDisplayNm() {
        return displayNm;
    }

    public void setDisplayNm(String displayNm) {
        this.displayNm = displayNm;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getLoginNm() {
        return loginNm;
    }

    public void setLoginNm(String loginNm) {
        this.loginNm = loginNm;
    }

    public String getIsActive() {
        return isActive;
    }

    public void setIsActive(String isActive) {
        this.isActive = isActive;
    }

}

